package com.nhim.cms.dao;

import java.util.List;

import com.nhim.cms.domain.ContentType;
import com.nhim.core.dao.ICoreDAO;

/**
 * Interface for ElementDefinitionDAO.
 * 
 * @author Huy Lieu TA
 */
public interface IContentTypeDAO extends ICoreDAO<Integer, ContentType> {

	/**
	 * Find all ContentType entities with a specific property value.
	 * 
	 * @param propertyName
	 *            the name of the Group property to query
	 * @param value
	 *            the property value to match
	 * @return List<ContentType> found by query
	 */
	public List<ContentType> findByProperty(String propertyName,
			final Object value);
	
	public List<ContentType> findByGroupId(Integer groupId);

}
